80306: All tests

Documentation

Owners

Name Affiliation Email Start End
Herm Fischer Mark V Systems fischer@markv.com 01-08-2020 at 12:00:00
Paul Hulst De Nederlandsche Bank P.J.Hulst@dnb.nl 01-08-2020 at 12:00:00

Test Case Variations


V-01 Instance with instant and duration facts

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-a.xml (DTS Discovery starting point) (ID=V01)
  • Function Call: xfi:single-unique-start-date()

    (against file V01)

Outputs

  • Result test: count( $result ) eq 1 and $result eq false()

V-02 Instance without facts

Documentation

Tests that the function works with an empty instance. As there is no date, the functions returns false.

Inputs

Outputs

  • Result test: $result eq false()

V-03 Instance with instant and duration facts that share the same date

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component.

Inputs

  • schema: taxonomy-a.xsd
  • instance: instance-e.xml (DTS Discovery starting point) (ID=V03)
  • Function Call: xfi:single-unique-start-date()

    (against file V03)

Outputs

  • Result test: $result eq true()

V-04 Instance with instant and duration fact with and without time

Documentation

Tests that the function works with an instance containing both types of concepts, including both date times with and without a time component. Date with time T00:00:00 is different from the same date without time.

Inputs

Outputs

  • Result test: $result eq false()

Revisions

Name On Details
Herm Fischer 01-08-2020 at 12:00:00 Created the test case.